package com.serialcommunication.constants;

import org.apache.soap.encoding.Hex;

import com.serialcommunication.helper.ByteUtil;

public class ProtocolConstants {
	
	public static final String BINARY_COMMAND = "FD";
	public static final String BINARY_COMMAND_INCOMMING = "FE";
	public static final int NUMBER_OF_PAYLOAD_BYTES = 4;
	
	/** Byte 1: */
	public static final Hex START_HEX = new Hex("A5");
	
	/** Byte 2: Hex codes for engine one to three */
	public static final Hex ENGINE_1_HEX = new Hex("01");
	public static final Hex ENGINE_2_HEX = new Hex("02");
	public static final Hex ENGINE_3_HEX = new Hex("03");
	
	/** Byte 8: TBD Hex */
	public static final Hex END_HEX = new Hex("5A");
	
	public static final String FIX_REQ_PAYLOAD_STRING = new String("00 00 00 00");
}
